package day02;
import java.util.Scanner;
public class ScannerDemo {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入你的数字：");
        int age = scan.nextInt();
        System.out.println("请输入您的价格：");
        double price=scan.nextDouble();
        System.out.println("您的年龄是"+age+"岁");
        System.out.println("您的价格是"+price+"元");
    }
}
